package com.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author mornd
 * @date 2025/1/14 21:04
 */

@RequestMapping("/test")
@RestController
public class TestController {

    @GetMapping("/t1")
    public Object t1() {
        return "ok";
    }

    @GetMapping("/version")
    public Object version() {
        return "1.1";
    }
}
